package com.zhucan.elastics.domain;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.stream.Stream;

/**
 * @author: zhuCan
 * @date: 2019/12/19 17:02
 * @description:
 */
public interface EmployeeRepository extends ElasticsearchRepository<Employee, Long> {

  Stream<Employee> findByNameLike(String name);
}
